﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript" src="../../Scripts/jquery.flash.js"></script>
<script type="text/javascript" src="../../Scripts/Map.js"></script>
<script type="text/javascript">
    $(document).ready(function() {

        //根据URL来得到CITYID
        var locationUrl = window.location.href;
        var CityID = locationUrl.split('/');
        var ID = CityID[CityID.length - 1];
        // alert(ID);
        
        var s;

        document.getElementById("videoName").innerHTML = ID;

        if (ID == "东京时尚") {
            s = 'http://player.youku.com/player.php/sid/XMzM0NTgyNTI=/v.swf';
        }
        if (ID == "东京帝国饭店") {
            s = 'http://player.youku.com/player.php/sid/XMzM0NjA0NDA=/v.swf';
        }
        if (ID == "神户时尚") {
            s = 'http://player.youku.com/player.php/sid/XNzU3MzU5MTI=/v.swf';
        }
        if (ID == "爱知") {
            s = 'http://player.youku.com/player.php/sid/XMzI4Nzk3NTI=/v.swf';
        }
        if (ID == "秋原") {
            s = 'http://player.youku.com/player.php/sid/XNDA0MTI4MjQ=/v.swf';
        }
        if (ID == "大阪") {
            s = 'http://player.youku.com/player.php/sid/XMzM0NjM4ODA=/v.swf';
        }
        if (ID == "神户") {
            s = 'http://player.youku.com/player.php/sid/XNDEyNDIzNDA=/v.swf';
        }
        if (ID == "北海道") {
            s = 'http://player.youku.com/player.php/sid/XNDIyNTU3MjA=/v.swf';
        }
        if (ID == "福岛") {
            s = 'http://player.youku.com/player.php/sid/XNDE4NDI1MjQ=/v.swf';
        }
        if (ID == "京都") {
            s = 'http://player.youku.com/player.php/sid/XNDQ0MTIxMjQ=/v.swf';
        }
        if (ID == "函馆") {
            s = 'http://player.youku.com/player.php/sid/XMzg2NTg1OTI=/v.swf';
        }
        if (ID == "静冈") {
            s = 'http://player.youku.com/player.php/sid/XNDMzNTM3MTI=/v.swf';
        }
        if (ID == "广岛") {
            s = 'http://player.youku.com/player.php/sid/XNzU1NDQ0MTI=/v.swf';
        }
        if (ID == "山口") {
            s = 'http://player.youku.com/player.php/sid/XNzU1NDQyMjg=/v.swf';
        }
        if (ID == "长野") {
            s = 'http://player.youku.com/player.php/sid/XMzMwODk1MzY=/v.swf';
        }
        if (ID == "冲绳") {
            s = 'http://player.youku.com/player.php/sid/XNDMzNDEzODA=/v.swf';
        }


        $('#fragment-3').flash(
        {
            src: s,
            width: 440,
            height: 340
        },
        { version: 8 }
    );

    });
</script>

<table border="0" cellpadding="0" cellspacing="0" align="center" style="position:relative;left:-150px;top:20px">
<tr>
    <td colspan="2">
        <br />
        <span id="videoName" class="red"></span>
        <br />
    </td>
</tr>
    <tr>
        <td>
            <div id="fragment-3">
                
            </div>
        </td>
        <td  width="20px"></td>
        <td valign="top">
       
        </td>
    </tr>
    
</table>

 <table border="0" cellpadding="0" cellspacing="0" width="40%" style="position:relative;top:-320px;left:600px;">
    <tr>
        <td >
            <a onclick="videopage1(1)" class="link" href="#"><span id="test_sp1">东京时尚</span></a> 
        </td>
        <td>
           <a onclick="videopage1(2)" class="link" href="#"><span id="test_sp2"> 东京帝国饭店</span></a> 
        </td>
        <td>
            <a onclick="videopage1(3)" class="link" href="#"><span id="test_sp3"> 神户时尚</span></a> 
        </td>
        <td>
           <a onclick="videopage1(4)" class="link" href="#"><span id="test_sp4"> 爱知</span></a>
        </td>
    </tr>
    
    <tr>
        <td>
           <a onclick="videopage1(5)" class="link" href="#"><span id="test_sp5"> 秋原</span></a>
        </td>
        <td>
            <a onclick="videopage1(6)" class="link" href="#"><span id="test_sp6">大阪</span></a>
        </td>
        <td>
            <a onclick="videopage1(7)" class="link" href="#"><span id="test_sp7"> 神户</span></a>
        </td>
        <td>
            <a onclick="videopage1(8)" class="link" href="#"><span id="test_sp8"> 北海道</span></a>
        </td>
    </tr>
    <tr>
        <td>
            <a onclick="videopage1(9)" class="link" href="#"><span id="test_sp9"> 福岛</span></a>
        </td>
        <td>
             <a onclick="videopage1(10)" class="link" href="#"><span id="test_sp10">京都</span></a>
        </td>
        <td>
           <a onclick="videopage1(11)" class="link" href="#"><span id="test_sp11"> 函馆</span></a>
        </td>
        <td>
            <a onclick="videopage1(12)" class="link" href="#"><span id="test_sp12"> 静冈</span></a>
        </td>
    </tr>
    
     <tr>
        <td>
            <a onclick="videopage1(13)" class="link" href="#"><span id="test_sp13"> 广岛</span></a>
        </td>
        <td>
           <a onclick="videopage1(14)" class="link" href="#"><span id="test_sp14">  山口</span></a>
        </td>
        <td>
           <a onclick="videopage1(15)" class="link" href="#"><span id="test_sp15"> 长野</span></a>
        </td>
        <td>
            <a onclick="videopage1(16)" class="link" href="#"><span id="test_sp16"> 冲绳</span></a>
        </td>
    </tr>

            </table>
</asp:Content>
